<?php

namespace Beerus\Modules\DesignerRanking\Controllers;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class IndexController extends Controller
{

//    public function area(Request $request)
//    {
//        $pid = $request->input('q', 0);
//        $areas = Area::getLocation($pid);
//        $format = array_map(function($k, $v){
//            return [
//                'id' => $k,
//                'text' => $v,
//            ];
//        }, array_keys($areas), $areas);
//        return response()->json($format);
//    }

    public function  searchTag(Request $request){
        //中心词
        $rs = [];

        return $rs;
    }

}
